package com.exam.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.exam.pojo.ApiResult;
import com.exam.pojo.ExamManage;

import java.util.List;

public interface ExamManageService {
    //不分页查询
    List<ExamManage> findAll();
    //分页查询
    IPage<ExamManage> findAll(Page<ExamManage> examManagePage);
    //根据id查询
    ExamManage findById(Integer examCode);
    //删除操作
    int deleteById(Integer examCode);
    //更新操作
    int updateById(ExamManage examManage);
    //新增操作
    int insertBy(ExamManage examManage);

    ExamManage ManagePaperId();
}
